package xyz.yuanjilu.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import xyz.yuanjilu.service.WorkspaceService;
import xyz.yuanjilu.utils.file.FileHandler;
@RestController
@RequestMapping("workspaceWebFile")
public class WorkspaceWebFileController extends WebFileControllerAbstractor{
	@Autowired
	private WorkspaceService workspaceService;
	@Override
	protected int getType() {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	protected String getBase() {
		// TODO Auto-generated method stub
		return "";
	}

	@Override
	protected String getDefPath() {
		// TODO Auto-generated method stub
		return "";
	}

	@Override
	protected String getUrlPrefix() {
		// TODO Auto-generated method stub
		return "";
	}

	@Override
	protected FileHandler getFileHandler() {
		return FileHandler.getLocalFileHandler(workspaceService, "");
	}

	@Override
	protected boolean isFtp() {
		return false;
	}
	
	

}
